升级隐藏分区固件的方法、电子设备和存储介质
Published in 发明专利 Invention patent, 2023
Recommended citation: Dayao Ji. (2023). "Method for upgrading hidden partition firmware, electronic equipment and storage medium." China patent. CN116909595A. https://patents.google.com/patent/CN116909595A
升级隐藏分区固件的方法、电子设备和存储介质
摘要:本发明涉及升级隐藏分区固件的方法、电子设备和存储介质。该方法包括获取包含隐藏分区固件文件的固件升级包,隐藏分区固件文件通过将待升级的多个存储于隐藏分区中的二进制固件打包而形成,隐藏分区固件文件中包括隐藏固件数据块;以及基于隐藏固件数据块进行固件升级。在构建固件升级包时完成隐藏固件数据块的构建,在实际升级时,只需从升级包中获取隐藏固件数据块进行升级,无需在升级过程中进行复杂的隐藏分区固件数据块的构建,降低了升级的复杂性,并且升级时是升级多份隐藏分区固件的二进制数据,即使升级过程中出现意外掉电,也总有一份数据是可用的,从而确保隐藏分区固件升级的可靠性,并提高升级效率。
Method for upgrading hidden partition firmware, electronic equipment and storage medium
Abstract:The invention relates to a method for upgrading hidden partition firmware, an electronic device and a storage medium. The method comprises the steps of obtaining a firmware upgrade package containing a hidden partition firmware file, wherein the hidden partition firmware file is formed by packaging a plurality of binary firmware to be upgraded, which are stored in a hidden partition, and the hidden partition firmware file comprises hidden firmware data blocks; and performing firmware upgrade based on the hidden firmware data block. The method has the advantages that the hidden firmware data blocks are built when the firmware upgrade package is built, and when the firmware upgrade package is actually upgraded, only the hidden firmware data blocks are needed to be obtained from the upgrade package, the complex hidden partition firmware data blocks are not needed to be built in the upgrade process, so that the upgrade complexity is reduced, in addition, the binary data of a plurality of hidden partition firmware are upgraded, even if unexpected power failure occurs in the upgrade process, one part of data is always available, and therefore the upgrade reliability of the hidden partition firmware is ensured, and the upgrade efficiency is improved.
Recommended citation:
纪大峣. 升级隐藏分区固件的方法、电子设备和存储介质[P]. 中国:CN116909595A,2023-10-20.
D. Ji,”Method for upgrading hidden partition firmware, electronic equipment and storage medium,” China Patent CN116909595A, October 20,2023.
